// src/api/login.js
import request from '@/utils/request.js'

export function login(data) {
  return request({
    url: '/login/login',
    method: 'POST',
    data: data
  })
}

  
export const userLogout = () => {
  return request({
    url: '/login/logout',
    method: 'GET'
  })
}